package com.hxj.server;


import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SuppressWarnings("SpringComponentScan")
@EnableAsync
@SpringBootApplication(scanBasePackages = {"com.hxj.server", "com.hxj.flowable", "com.hxj.admin.szjy"})//${quantum.info.base-package}
@MapperScan(value = "${quantum.info.base-package}", annotationClass = Mapper.class,
        lazyInitialization = "${mybatis.lazy-initialization:false}")
public class DemoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoServerApplication.class, args);
    }

}
